package com.peter.design.pattern.decorator.battercake.v1;

/**
 * @Auther: 肖冬
 * @Date: 2020/7/27 15:52
 * @Description:
 */
public class BattercakeWithEgg extends  Battercake {
    protected String getMsg(){ return super.getMsg() + "+1个鸡蛋";}

    public int getPrice(){ return super.getPrice() + 1;}
}
